import { RouteRecordRaw } from 'vue-router'

export const loginRoutes: RouteRecordRaw[] = [
    {
      path: '/',
      redirect: '/login'
    },
    {
      path: '/login',
      name: 'Login',
      component: () => import('@/pages/login/index.vue')
    },
    {
      path: '/:pathMatch(.*)*',
      name: '404',
      component: () => import('@/pages/result/404/index.vue'),
      meta: {
        requiresAuth: true,
      }
    }
  ]